package com.bw.shopping.mvvm.view.fragment;

import android.os.Bundle;

import com.bw.mvvm_common.field.UIField;
import com.bw.mvvm_common.mvvm.view.BaseActivity;
import com.bw.shopping.BR;
import com.bw.shopping.R;
import com.bw.shopping.databinding.ActivityCompileBinding;
import com.bw.shopping.mvvm.viewmodel.CompileViewModel;

public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/31 0031 下午 5:53
 *
 */
class CompileActivity extends BaseActivity<ActivityCompileBinding, CompileViewModel> {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Bundle bundleExtra = getIntent().getBundleExtra(UIField.PAGEBUNDLE);
        int id = bundleExtra.getInt("id");
        vm.getid(id);
    }

    @Override
    public int bindLayout() {
        return R.layout.activity_compile;
    }

    @Override
    public int initVerable() {
        return BR.compile;
    }
}
